﻿<%@ Assembly Name="Microsoft.SharePoint.ApplicationPages.Administration, Version=12.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c"%> 
<%@ Page Language="C#" Inherits="Microsoft.SharePoint.ApplicationPages.OperationsPage" MasterPageFile="~/_admin/admin.master"      %> 
<%@ Import Namespace="Microsoft.SharePoint.ApplicationPages" %> 
<%@ Register Tagprefix="SharePoint" Namespace="Microsoft.SharePoint.WebControls" Assembly="Microsoft.SharePoint, Version=12.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c" %>
<%@ Register Tagprefix="Utilities" Namespace="Microsoft.SharePoint.Utilities" Assembly="Microsoft.SharePoint, Version=12.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c" %> 
<%@ Import Namespace="Microsoft.SharePoint" %>
<%@ Register Tagprefix="SharePoint" Namespace="Microsoft.SharePoint.WebControls" Assembly="Microsoft.SharePoint, Version=12.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c" %>
<%@ Register Tagprefix="Utilities" Namespace="Microsoft.SharePoint.Utilities" Assembly="Microsoft.SharePoint, Version=12.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c" %> 
<%@ Import Namespace="Microsoft.SharePoint" %> 
<%@ Register Tagprefix="wssawc" Namespace="Microsoft.SharePoint.WebControls" Assembly="Microsoft.SharePoint, Version=12.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c" %> 
<%@ Register Tagprefix="SharePoint" Namespace="Microsoft.SharePoint.WebControls" Assembly="Microsoft.SharePoint, Version=12.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c" %> 
<%@ Register Tagprefix="AdminControls" Namespace="Microsoft.SharePoint.WebControls" Assembly="Microsoft.SharePoint.ApplicationPages.Administration" %>
<asp:content contentplaceholderid="PlaceHolderPageTitle" runat="server">
	<SharePoint:EncodedLiteral runat="server" text="<%$Resources:spadmin, solutions_PageTitle%>" EncodeMethod='HtmlEncode'/>
</asp:content>
<asp:content contentplaceholderid="PlaceHolderPageTitleInTitleArea" runat="server">
	<SharePoint:EncodedLiteral runat="server" text="<%$Resources:spadmin, solutions_PageTitle%>" EncodeMethod='HtmlEncode'/>
</asp:content>
<asp:content contentplaceholderid="PlaceHolderPageDescription" runat="server">
	<SharePoint:EncodedLiteral runat="server" text="<%$Resources:spadmin, solutions_PageDescription%>" EncodeMethod='HtmlEncodeAllowSimpleTextFormatting'/>
</asp:content>
<asp:content contentplaceholderid="PlaceHolderMain" runat="server">

<table class="ms-toolbar" cellpadding="2" cellspacing="0" border="0" id="ctl00_PlaceHolderMain_backupToolBar" width="100%" >
  <tr>


		<td class="ms-toolbar" nowrap="true">
	
	 <table cellpadding="1" cellspacing="0" border="0"  >
	  <tr>
	   
	   <td class="ms-toolbar" nowrap >
		 <a href="AddSolution.aspx" class="ms-toolbar" Title="Upload new solution" AccessKey="U">
			<img id="ctl00_PlaceHolderMain_backupToolBar_RptControls_idRunBackup_ImageOfButton"
			border="0" 
			src="/_layouts/images/RunBackup.gif" 
			alt="Upload new solution" 
			style="height:16px;width:16px;border-width:0px;" />
		 </a>
	   </td>
	   
	   <td class="ms-toolbar" nowrap >
		<a href="AddSolution.aspx" class="ms-toolbar" Title="Upload new solution" AccessKey="R">Upload new solution</a>
	   </td>
	 </tr>
	</table>

		</td>
	
	<td width="99%" class="ms-toolbar" nowrap><IMG SRC="/_layouts/images/blank.gif" width=1 height=18 alt=""></td>


  </tr>
</table>

<table width="100%" class="propertysheet" cellspacing="0" cellpadding="0" border="0"> <tr> <td class="ms-descriptionText"> <asp:Label ID="LabelMessage" Runat="server" EnableViewState="False" class="ms-descriptionText"/> </td> </tr> <tr> <td class="ms-error"><asp:Label ID="LabelErrorMessage" Runat="server" EnableViewState="False" /></td> </tr> <tr> <td class="ms-descriptionText"> <asp:ValidationSummary ID="ValSummary" HeaderText="<%$SPHtmlEncodedResources:spadmin, ValidationSummaryHeaderText%>" DisplayMode="BulletList" ShowSummary="True" runat="server"> </asp:ValidationSummary> </td> </tr> <tr> <td><img src="/_layouts/images/blank.gif" width="10" height="1" alt="" /></td> </tr> </table>
<TABLE border="0" cellspacing="4" cellpadding="0" width="100%">
	<TR>
		<TD>
			<AdminControls:AdministrationDataSourceControl runat="server"
				ID="SolutionsDS" ViewName="Solutions" />
			<SharePoint:SPGridView
				id="GvItems"
				runat="server"
				AutoGenerateColumns="false"
				width="100%"
				AllowSorting="True"
				DataSourceId="SolutionsDS" >
				<AlternatingRowStyle CssClass="ms-alternating" />
				<EmptyDataTemplate>
				   <SharePoint:EncodedLiteral runat="server" text="<%$Resources:spadmin, solutions_empty1%>" EncodeMethod='HtmlEncode'/>
				   <br><br>
				   <SharePoint:EncodedLiteral runat="server" text="<%$Resources:spadmin, solutions_empty2%>" EncodeMethod='HtmlEncode'/>
				   <br><br>
				   <SharePoint:EncodedLiteral runat="server" text="<%$Resources:spadmin, solutions_empty3%>" EncodeMethod='HtmlEncode'/>
				</EmptyDataTemplate>
				<Columns>
					<asp:TemplateField
						SortExpression="ItemName"
						HeaderText="<%$SPHtmlEncodedResources:spadmin, solutions_Name%>">
						<ItemStyle VerticalAlign="Top" />
						<ItemTemplate>
							<%# @"<a href='" + SPHttpUtility.HtmlUrlAttributeEncode(Eval("SolutionLink").ToString().Replace("/_admin","/_admin/ttsm")) + "'>" + SPHttpUtility.HtmlEncode(Eval("ItemName").ToString()) + @"</a>" %>
						</ItemTemplate>
					</asp:TemplateField>
					<asp:BoundField
						HeaderText="<%$Resources:spadmin, solutions_Status%>"
						HtmlEncode="false"
						SortExpression="Status"
						DataField="HtmlStatus" />
					<asp:BoundField
						HeaderText="<%$Resources:spadmin, solutions_Deployed%>"
						HtmlEncode="true"
					DataField="Deployed" />
				</Columns>
			</SharePoint:SPGridView>
		</TD>
	</TR>
</table>
</asp:content>
